﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="checkstockbill_list.aspx.cs" Inherits="WebInvoicingsys.system.checkstock.checkstockbill_list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="styles" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="alert_text" runat="server">
    <%=alert_msg%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="main" runat="server">
<div class="row-fluid">
    <div style="padding:5px;">
	    <asp:Button class="btn btn-primary" id="btnReturn" runat="server" Text="返回" 
            onclick="btnReturn_Click" />
        <asp:Button class="btn btn-info" id="btnExport" runat="server" Text="导出" 
            onclick="btnExport_Click" />
	</div>
</div>
<div class="row-fluid">
    <div class="block">
        <div class="navbar navbar-inner block-header">
            <div class="muted pull-left">列表</div>
        </div>
        <div class="block-content collapse in">
            <div class="span12">
                <table class="table table-bordered">
                <thead style="background-color:Silver">
	                <tr>
		                <th>序号</th>
		                <th>盘点单号</th>
                        <th>开单日期</th>
                        <th>盘点仓库</th>
                        <th>开单人员</th>
                        <th>制单日期</th>
                        <th>开单备注</th>
                        <th>审批状态</th>
                        <th>审批人员</th>
                        <th>审批日期</th>
                        <th>审批备注</th>
                        <th>月结</th>
                        <th>总类(合计)</th>
                        <th>开单(合计)</th>
                        <th>实盘(合计)</th>
                        <th>删除</th>
                        <th>打印</th>
	                </tr>
                </thead>
                <tbody>
                <asp:Repeater ID="rplist" runat="server" onitemcommand="rplist_ItemCommand">
                <ItemTemplate>
                <tr>
		            <td><%#Eval("dgvID")%></td>
		            <td><%#Eval("csid")%></td>
                    <td><%#Eval("billdate")%></td>
                    <td><%#Eval("warehousename")%></td>
                    <td><%#Eval("username")%></td>
                    <td><%#Eval("sysdate")%></td>
                    <td><%#Eval("remark")%></td>
                    <td><%#Eval("checkstu")%></td>
                    <td><%#Eval("checkusername")%></td>
                    <td><%#Eval("checkdate")%></td>
                    <td><%#Eval("checkremark")%></td>
                    <td><%#Eval("m_stu")%></td>
                    <td><%#Eval("qty1")%></td>
                    <td><%#Eval("qty2")%></td>
                    <td><%#Eval("qty3")%></td>
                    <td>
                        <asp:LinkButton runat="server" ID="lbtDelete" CommandArgument='<%#Eval("csid")%>'
                            CommandName="Delete" Text="删除" CssClass="btn btn-xs btn-warning"></asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton runat="server" ID="lbtPrint" CommandArgument='<%#Eval("csid")%>'
                            CommandName="Print" Text="打印" CssClass="btn btn-xs btn-primary"></asp:LinkButton>
                    </td>
	            </tr>
                </ItemTemplate>
                </asp:Repeater>
                </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="scripts" runat="server">
</asp:Content>

